<?php
abstract class ArrowTag extends ArrowNode{
	public function generateOutput(){
		return "arrow-tag( ".$this." in ".$this->getParent()." )";
	}

	public function generateOutputCode(){
		return '{if $arrowTag'.$this->getNodeIndex().'->isDisplayed()}{$arrowTag'.$this->getNodeIndex().'->generate()}{/if}';
	}
	
	public function generate(){
		if(!$this->isDisplayed()) return "";
		return $this->generateOutput();
		//throw new ArrowCoreException(array("msg" => "[ArrowTagContainer] Generate method not implementet"));	
	}
	
}

?>